<include file="public@header" />
</head>
<body>
	<div class="wrap js-check-wrap">
		<ul class="nav nav-tabs">
			<li class="active"><a href="{:url('Member/memberchangelog')}">会员充值列表</a></li>
		</ul>
        <form class="well form-inline margin-top-20" method="post" action="{:url('Member/memberchangelog')}">
            <input type="text" class="form-control" name="user_login" style="width: 120px;" value="{:input('request.keyword')}" placeholder="手机号/昵称">
            时间:
            <input type="text" class="form-control js-bootstrap-date" name="start_time" id="start_time" value="{:input('request.start_time')}" style="width: 140px;" autocomplete="off">-
            <input type="text" class="form-control js-bootstrap-date" name="end_time" id="end_time" value="{:input('request.end_time')}" style="width: 140px;" autocomplete="off"> &nbsp; &nbsp;
            <input type="submit" class="btn btn-primary" value="搜索" />
            <a class="btn btn-danger" href="{:url('Member/memberchangelog')}">清空</a>
        </form>
		<table class="table table-hover table-bordered">
			<thead>
				<tr>
                                        <th>所属店铺</th>
					<th>会员昵称</th>
					<th>会员手机号</th>
					<th>金额</th>
                                        <th>订单号</th>
                                        <th>状态</th>
                                        <th>支付方式</th>
                                        <th>充值提示</th>
					<th>时间</th>
				</tr>
			</thead>
			<tbody>
				<foreach name="list" item="vo">
				<tr>  
                                    <td>{$vo.shop_name}</td>
                                    <td>{$vo.nick_name}</td>
                                    <td>{$vo.mobile}</td>
                                    <td>{$vo.money}</td>
                                    <td>{$vo.order_no}</td>
                                    <td><?php $type = $vo['status'];switch($type){case 0: echo "失败";break;case 1: echo "成功";break;case 2: echo "取消";break;} ?></td>
                                    <td><?php $type = $vo['pay_way'];switch($type){case 1: echo "微信";break;case 2: echo "支付宝";break;case 3: echo "其他";break;} ?></td>
                                    <td>{$vo.content}</td>
                                    <td>{:date('Y-m-d H:i:s',$vo['c_time'])}</td>
				</tr>
				</foreach>
			</tbody>
		</table>
		<div class="pagination">{$page}</div>
	</div>
	<script src="__STATIC__/js/admin.js"></script>
</body>
</html>